const routes = [
    {
        path: '/',
        component: () => import('../views/home')
    }, {
        path: '/home',
        component: () => import('../views/home')
    }, {
        path: '/cart',
        component: () => import('../views/cart'),
        meta: {
            isAuth: true
        }
    }, {
        path: '/mine',
        component: () => import('../views/mine'),
        meta: {
            isAuth: true
        }
    }, {
        path: '/order',
        component: () => import('../views/order'),
        meta: {
            isAuth: true
        }
    }, {
        path: '/store',
        component: () => import('../views/store'),
    }, {
        path: '/create-order',
        component: () => import('../views/createOrder'),
        meta: {
            isAuth: true
        }
    }, {
        path: '/address',
        component: () => import('../views/address')
    }, {
        path: '/address-edit',
        component: () => import('../views/addressEdit'),
        meta: {
            isAuth: true
        }
    },{
        path: '/userInfoEdit',
        component: () => import('../views/userInfoEdit'),
        meta: {
            isAuth: true
        }
    },{
        path: '/register',
        component: () => import('../views/register')
    },{
        path: '/login',
        component: () => import('../views/login')
    }
]

export default routes